home *** CD-ROM | disk | FTP | other *** search
/ kermit.columbia.edu / kermit.columbia.edu.tar / kermit.columbia.edu / newsgroups / misc.19980424-19980901 / 000156_news@newsmaster….columbia.edu _Fri May 29 14:08:15 1998.msg < prev    next >
Internet Message Format  |  1998-08-31  |  4KB

  1. Return-Path: <news@newsmaster.cc.columbia.edu>
  2. Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.35.30])
  3.     by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id OAA17342
  4.     for <kermit.misc@watsun.cc.columbia.edu>; Fri, 29 May 1998 14:08:14 -0400 (EDT)
  5. Received: (from news@localhost)
  6.     by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id OAA08127
  7.     for kermit.misc@watsun; Fri, 29 May 1998 14:08:14 -0400 (EDT)
  8. Path: news.columbia.edu!watsun.cc.columbia.edu!jaltman
  9. From: jaltman@watsun.cc.columbia.edu (Jeffrey Altman)
  10. Newsgroups: comp.protocols.kermit.misc
  11. Subject: Re: How could I add more font into K95?
  12. Date: 29 May 1998 18:08:10 GMT
  13. Organization: Columbia University
  14. Lines: 57
  15. Message-ID: <6kmtia$71l$1@apakabar.cc.columbia.edu>
  16. References: <356D1C42.DBA12525@ehpt.com> <6kmosh$4is$1@apakabar.cc.columbia.edu>
  17. NNTP-Posting-Host: watsun.cc.columbia.edu
  18. Xref: news.columbia.edu comp.protocols.kermit.misc:8821
  19.  
  20. In article <6kmosh$4is$1@apakabar.cc.columbia.edu>,
  21. Frank da Cruz <fdc@watsun.cc.columbia.edu> wrote:
  22. : In article <356D1C42.DBA12525@ehpt.com>,
  23. : Sakchai Hanprasertporn  <qhssak@ehpt.com> wrote:
  24. : : I wanna use the thai font from K95.
  25. : : How could I do?
  26. : : 
  27. : You probably can't.  As you may know, each writing system (Roman,
  28. : Cyrillic, Hebrew, Greek, etc) is represented by many different
  29. : and incompatible character sets.  We must put code into Kermit
  30. : software to translate between them.  Thus Thai terminal emulation
  31. : is probably not a simple matter of loading a Thai font, since the
  32. : host is likely to use a different encoding than the PC for Thai.
  33. : In any case, Windows 95 Console applications (such as Kermit 95)
  34. : are forbidden to allow you the freedom to load new fonts.  Don't
  35. : ask us why, ask Microsoft (Windows NT does not have the same
  36. : restrictions).
  37.  
  38. The rules for Windows 95, NT, and OS/2 are each different.
  39.  
  40. Windows 95 allows console windows to use two fonts:
  41.  
  42. . The OEM bitmap font that matches the current Code Page.  So if 
  43.   there is an IBM code page for Thai and Microsoft happens to have
  44.   included it in Windows 95 then you can use Thai via that mechanism.
  45.  
  46. . A single monospaced True Type font as specified in the Registry as key
  47.     HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\MS-DOS Emulation\
  48.   and text string
  49.     "Font"="<fontname>"
  50.   Replace <fontname> with the name of the true type font you want to
  51.   use for the console window.  If the font is a Thai font it might be
  52.   used or might not depending on the encoding.
  53.  
  54. Windows NT allows any number of True Type fonts to be installed
  55. for use by console windows.  The fonts must be monospaced, unicode
  56. encoded, and contain all of the characters necessary for each of the
  57. OEM code pages installed on the system.
  58.  
  59. OS/2 only uses bitmap fonts which are stored as a resource on a 
  60. particular DLL.  (I forget the name at the moment.)  The fonts can
  61. be replaced by editing the resources attached to the DLL. 
  62.  
  63. : There will be more flexibility in this area when the GUI version
  64. : of Kermit 95 is released.
  65.  
  66. However, even when K95 for Win95 and NT allows a greater variety of
  67. fonts to be used there will still be significant restrictions and 
  68. K95 will have to understand the character-sets in order for the 
  69. proper translation to Unicode to be performed.  
  70.  
  71.  
  72.     Jeffrey Altman * Sr.Software Designer * Kermit-95 for Win32 and OS/2
  73.                  The Kermit Project * Columbia University
  74.               612 West 115th St #716 * New York, NY * 10025
  75.   http://www.kermit-project.org/k95.html * kermit-support@kermit-project.org